<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html>
<head>
<title>Edit Information Page</title>
</head>
<body>
	<c:if test="${empty userLoggin }">
		<c:redirect url="${pageContext.request.contextPath}"/>
	</c:if>
	<h3 style="text-align: right;"> Welcome ${PMInfo} | 
		<a href="${pageContext.request.contextPath}">Logout</a> | 
		<a href="${pageContext.request.contextPath}/">Change Password</a>
	</h3>
	<div align="center" style="padding-top: 50px;">
		<h1>Edit Information</h1>
		<form method="POST">
			<table style="font-size: 15pt">
				<tbody>
					<tr>
						<td>Full Name</td>
						<td><input type="text" name="fullNametxt"
								 value="${userUpdate.fullname}"/></td>
					</tr>
					<tr>
						<td>Address</td>
						<td><input type="text" name="addresstxt" value="${userUpdate.address}" /></td>
					</tr>
					<tr>
						<td>Phone:</td>
						<td><input type="text" name="phonetxt" value="${userUpdate.phone}" /></td>
					</tr>
					<tr>
						<td colspan="2" style="text-align: right; padding-top: 10px;">
							<input type="submit" value="Update" name="submitbtn" /> <input
							type="reset" value="Reset" name="resetbtn" />
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>
